package com.suke.czx.modules.tb.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.suke.czx.modules.tb.entity.TbProduct;
import com.suke.czx.modules.tb.vo.ProductVO;

import java.util.List;

/**
 * 商品表
 *
 * @author developer
 * @email developer@163.com
 * @date 2025-05-14 21:06:11
 */
public interface TbProductMapper extends BaseMapper<TbProduct> {

    List<ProductVO> recommendList(String keyword);

    ProductVO getDetailById(Long id);

    List<ProductVO> recommendListByCategoryId(Integer categoryId, String keyword);

    List<ProductVO> recommendListSc(String userId, String keyword);
}
